﻿namespace AddressBook.Business.MailingList
{
	#region "Using Statements"
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	using Csla;
	using Csla.Data;
	#endregion

	[Serializable]
  public class MailingListEntries : BusinessListBase<MailingListEntries, MailingListEntry>
  {
		#region "Factory Methods"

		internal static MailingListEntries NewMailingListEntries()
    {
      return DataPortal.CreateChild<MailingListEntries>();
    }

		internal static MailingListEntries GetMailingListEntries(AddressBook.Business.Model.Entry[] data)
    {
      return DataPortal.FetchChild<MailingListEntries>(data);
    }

		private MailingListEntries()
    { /* require use of factory methods */ }

    #endregion
  }
}
